package com.mingqijia.gassafety.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wanghai
 * @since 2022-03-10
 */
@Data
@TableName("t_service_pkg_record")
@ApiModel(value="ServicePkgRecord对象", description="")
public class ServicePkgRecord extends BaseEntity{

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "Id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "套餐名称")
    @TableField("pgk_name")
    private String pgkName;

    @ApiModelProperty(value = "服务内容")
    @TableField("service_content")
    private String serviceContent;

    @ApiModelProperty(value = "服务周期")
    @TableField("pgk_cycle")
    private Integer pgkCycle;

    @ApiModelProperty(value = "套餐周期单位")
    @TableField("pgk_cycle_unit")
    private String pgkCycleUnit;

    @ApiModelProperty(value = "数据来源 1-报警监控系统")
    @TableField("data_source")
    private Integer dataSource;

}
